//
//  RecordingViewController.m
//  LABEGCO
//
//  Created by Forensic on 11/19/2556 BE.
//  Copyright (c) 2556 STUDENT. All rights reserved.
//

#import "RecordingViewController.h"
#import "Database.h"
@interface RecordingViewController ()

@end

@implementation RecordingViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)tuchbut:(id)sender {
    Database *db=[Database getSharedInstance];
    NSInteger recordID=[db createRecord:[NSDate date]];
}


@end
